package com.job51.hro.datacheckservice.feign;

import com.job51.hro.datacheckservice.dto.fegin.wechatrobot.Publisher;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author pengfei.ma
 * @create 2022/11/14
 * @since 1.0.0
 */
@Component
@FeignClient(name = "wechat-robot-actions", url = "${wechatrobot.webhook}")
public interface WechatRobotActions {
    @PostMapping(path = "",consumes = "application/json")
    void publish( Publisher publisher);
}
